﻿using System;
using System.Collections.Generic;

using mvcForum.Web.ViewModels;

namespace mvcForum.Web.Areas.ForumAPI.ViewModels {

	public class TopicCollection {
		private readonly IEnumerable<TopicViewModel> topics;

		public TopicCollection(IEnumerable<TopicViewModel> topics) {
			this.topics = topics;
		}

		public IEnumerable<TopicViewModel> Topics {
			get {
				return this.topics;
			}
		}
	}
}